package com.glela.platform.model;

import java.util.Date;

public class GivePromotionHistory {
    private Long id;

    private Long tearchUserId;

    private String tearchJobNo;

    private Long promotionId;

    private Long userId;

    private Long userRoleId;

    private Date giveTime;

    private Date getTime;

    private Long adminUserId;

    private Date expirationTime;

    private Integer status;
    
    private Integer pId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTearchUserId() {
        return tearchUserId;
    }

    public void setTearchUserId(Long tearchUserId) {
        this.tearchUserId = tearchUserId;
    }

    public String getTearchJobNo() {
        return tearchJobNo;
    }

    public void setTearchJobNo(String tearchJobNo) {
        this.tearchJobNo = tearchJobNo == null ? null : tearchJobNo.trim();
    }

    public Long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserRoleId() {
        return userRoleId;
    }

    public void setUserRoleId(Long userRoleId) {
        this.userRoleId = userRoleId;
    }

    public Date getGiveTime() {
        return giveTime;
    }

    public void setGiveTime(Date giveTime) {
        this.giveTime = giveTime;
    }

    public Date getGetTime() {
        return getTime;
    }

    public void setGetTime(Date getTime) {
        this.getTime = getTime;
    }

    public Long getAdminUserId() {
        return adminUserId;
    }

    public void setAdminUserId(Long adminUserId) {
        this.adminUserId = adminUserId;
    }

    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public String toString() {
	  return new StringBuffer().append("GivePromotionHistory [id=").append(id).append(", tearchUserId=").append(tearchUserId)
				 .append(", tearchJobNo=").append(tearchJobNo).append(", promotionId=").append(promotionId)
				 .append(", userId=").append(userId).append(", userRoleId=").append(userRoleId).append(", giveTime=")
				 .append(giveTime).append(", getTime=").append(getTime).append(", adminUserId=").append(adminUserId)
				 .append(", expirationTime=").append(expirationTime).append(", status=").append(status)
				 .append(", pId=").append(pId).toString();
			 
	}
}